package com.ddwl.goods.dao;

import com.ddwl.common.dao.TkDao;
import com.ddwl.goods.mapper.ItemRateMediaMapper;
import com.ddwl.goods.model.ItemRateMedia;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author hemiaojun
 * @Date
 */
@Repository
public class ItemRateMediaDao extends TkDao<ItemRateMediaMapper,ItemRateMedia> {


    public List<ItemRateMedia> listByItemRateId(String id) {
        ItemRateMedia irm = new ItemRateMedia();
        irm.setItemRateId(id);
        return this.select(irm);
    }


}